package org.data12.SpringbootDemo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.data12.SpringbootDemo.model.Admin;

@Mapper
public interface AdminMapper {
    @Select("SELECT * FROM admin WHERE username = #{username} and password = #{password}")
    public Admin login(String username, String password);
}
